import { Adapter } from "../adapter/adapter";
import { BitMath } from "../math/math";

export namespace Tile_Interface
{
    export interface IDrawElement_WithSize extends IDrawElement
    {
        readonly width: number
        readonly height: number
        Draw(render: Adapter.IRenderAdapter, x: number, y: number, multiColorIndex: number): void
    }
    export interface IDrawElement
    {
        DrawScale(render: Adapter.IRenderAdapter, dest: BitMath.Rect, multiColorIndex: number): void
    }
}
